package com.feihong.txgw.inter.contract.product;

import com.feihong.txgw.model.bean.user.HotSearchDataModel;
import com.feihong.txgw.ui.mvp.model.IBaseModel;
import com.feihong.txgw.ui.mvp.precenter.AbBasePrecenter;
import com.feihong.txgw.ui.mvp.view.IBaseActivity;

import io.reactivex.Observable;

/**
 * @Author wangziheng
 * @ProjectName txgw_app
 * @ClassName IHotSearchContract
 * @package com.feihong.txgw.inter.contract.product
 * @data 2018/5/8 10:52
 * @Describe
 * @Change
 */
public interface IHotSearchContract {

    interface IHotSearchMainView extends IBaseActivity{

        void hotSearchList(HotSearchDataModel hotSearchDataModel);
    }

    interface IHotSearchMainModel extends IBaseModel{
        Observable<HotSearchDataModel> getHotSerachGoods();
    }

    abstract class AbHotSearchMainPrecenter extends AbBasePrecenter<IHotSearchMainModel,IHotSearchMainView>{
        public abstract void getHotSearchGoods();
    }

}
